#include <cstdlib>
#include <iostream>

#include "illegal_argument_exception.h"
#include "run.h"

using namespace std;

int main(int argc, char *argv[])
{
    try {
        run(argc, argv);
    } catch (illegal_argument_exception e) {
        std::cerr << e.msg;
        exit(1);
    }

    return 0;
}
